import eop.project.Activity;
import eop.project.Damage;
import eop.project.Location;
import eop.project.Volcano;

class BootStrap {

     def init = { servletContext ->
		 environments{
			 development{
				 new Volcano(volcanoName:'SARIGAN',volcanoType:'Stratovolcano',volcanicRef:'0804-191',status:'Holocene').save();
				 new Activity(vaac:'Darwin',color:'red').save();
				 new Damage(injuries:"21",Houses:"23",numberOfDeaths:"",damages:"").save();
				 new Location(locationName:'Mariana Is-C Pacific',lattitude:16.708,longitude:145.78,elevation:538).save()
			 }
		 }
     }
     def destroy = {
     }
} 